import request from '@/util/request.js'

/**
 * @description 科普宣教
 * @param {Object} data
 */
export function getPopularList(data) {
	return request({
		url: '/sbbz/poularScience/getPopularList',
		method: 'get',
		data
	})
}
/**
 * @description 科普宣教详情
 * @param {Object} data
 */
export function getPopularById(data) {
	return request({
		url: '/sbbz/poularScience/getPopularById',
		method: 'get',
		data
	})
}
/**
 * @description 野生动物观察记录列表
 * @param {Object} data
 */
export function getAnimalRecordList(data) {
	return request({
		url: '/sbbz/animalRecord/getAnimalRecordList',
		method: 'get',
		data
	})
}
/**
 * @description 野生动物救助
 * @param {Object} data
 */
export function addAndUpdateAnimalRescue(data) {
	return request({
		url: '/sbbz/animalRescue/addAndUpdateAnimalRescue',
		method: 'POST',
		data
	})
}
/**
 * @description 野生动物记录
 * @param {Object} data
 */
export function addAndUpdateRecord(data) {
	return request({
		url: '/sbbz/animalRecord/addAndUpdateRecord',
		method: 'POST',
		data
	})
}
/**
 * @description 野生动物地图
 * @param {Object} data
 */
export function getAnimalMap(data) {
	return request({
		url: '/sbbz/animalMap/getAnimalMapList',
		method: 'GET',
		data
	})
}
/**
 * @description 野生动物类型
 * @param {Object} data
 */
export function getAnimalType(data) {
	return request({
		url: '/sbbz/animalRescue/getAnimalType',
		method: 'GET',
		data
	})
}
/**
 * @description 法律法规
 * @param {Object} data
 */
export function getLawList(data) {
	return request({
		url: '/sbbz/statute/getPopularList',
		method: 'get',
		data
	})
}
/**
 * @description 法律法规详情
 * @param {Object} data
 */
export function getLawDetailById(data) {
	return request({
		url: '/sbbz/statute/getPopularById',
		method: 'get',
		data
	})
}